package com.yu.Dao;

import com.yu.Pojo.User;

import java.sql.SQLException;

public interface UserDao {
    public int insertUser(User user) throws Exception;
    public User selectByName(String userName) throws SQLException, ClassNotFoundException;
    public User loginQuery(User user) throws SQLException, ClassNotFoundException;
}
